home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Zone 92
/
DPPCZ0800.7z
/
DPPCZ0800.ISO
/
Patches
/
Star Trek - Armada
/
Armada_patch_1_1.exe
/
LDL
/
string.ldl
< prev
Wrap
Text File
|
2000-05-05
|
19KB
|
454 lines
################################################################################################
# This is the LANGUAGE INDEPENDENT component of the LDL script.
################################################################################################
global_strings
{
################################################################################################
# INSTALLSHIELD SPECIFIC
#
# "szRegGameKey" and "szRegProductKey" attributes have to be defined when patching a
# product that has been installed using InstallShield. These attributes should not be
# present for products installed, using the Activision Installer.
#
# "szRegGameKey" is the name of the registry key under "HKEY_LOCAL_MACHINE\Software" that
# contains information on the product to be patched.
#
# Example: string szRegGameKey "Activision\Battlezone"
#
# "szRegProductKey" is the name of the registry key under
# "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths" for this
# product.
#
# Example: string szRegProductKey "bzone_exe"
#
################################################################################################
# ACTIVISION INSTALLER SPECIFIC
#
# "szLogfilePath" should only be defined for products that have been installed using the
# Activision Installer". This attribute specifies the name of the product's logfile
# relative to the product install directory and is only used when the user specifies the
# install directory (either by dragging and dropping a directory onto the Patcher EXE or
# by specifying the command line option "-here").
#
# Example: string szLogfile "Uninstall\\Heavy Gear 2.log"
#
# string szLogfile "Uninstall\\Armada.log"
################################################################################################
# ACTIVISION INSTALLER SPECIFIC
#
# "szUninstallKey" should only be defined for products using the Activision Installer.
# This attribute specifys the product's uninstall key under
# "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall" and is only
# used if the product install directory needs to be determined via the registry.
#
# Example: string szUninstallKey "Activision_HG2UninstallKey"
#
string szUninstallKey "Activision_StarTrekArmadaUninstallKey"
################################################################################################
#
# "szExePath" specifies the product's main executable, relative to the product install
# directory. This attribute is only used if the product install directory has been
# specified by the user (either by dragging and dropping a directory onto the Patcher EXE
# or by specifying the command line option "-here").
#
# Example: string szExePath "bzone.exe"
#
string szExePath "Armada.exe"
################################################################################################
#
# "szValidBranchLow" and "szValidBranchHigh" are an optional attribute pair that, allows
# the specification of a branch range, which this patch is to apply to.
#
# If this attribute pair is defined and the product's "anet.inf" file contains a "Branch"
# key in the "[Version Info]" block, the Patcher checks if the product's current "Branch"
# number falls within the specified branch number range.
#
# "szValidBranchLow" and "szValidBranchHigh" are inclusive. Thus the following mathematical
# relationship has to hold true, in order for the patch to be considered applicable:
# szValidBranchLow <= anet.inf.[Version Info].Branch <= szValidBranchHigh. If this does not
# hold true, the text specified by "szWrongBranch" attribute (usually defined in the
# language specific LDL) is displayed and the patching process is aborted.
#
# Both of these attributes have to be specified together as a pair. If either one or both
# of these attributes is missing or the product's "anet.inf" does not contain a "Branch"
# key in the "[Version Info]" block, this test passes by default.
#
# Example: string szValidBranchLow "0.0"
# string szValidBranchHigh "2.4"
#
################################################################################################
#
# "szValidPlatform_n" is an optional attribute and specifies one or more platforms, which
# this patch is to apply to. "_n" represents any unique and positive number. There can
# be multiple "szValidPlatform_n" as long as their indecis ("_n") are unique.
#
# If one or more "szValidPlatform_n" are specified and the product's "anet.inf" file
# contains a "Platform" key in the "[ActiveNet]" block, the Patcher traverses through all
# "szValidPlatform_n" in an attempt to find one that matches the product's current
# "Platform" key. If no matching "szValidPlatform_n" is found the, text specified by
# "szWrongPlatform" is displayed and the patching process is aborted.
#
# If no "szValidPlatform_n" was specified or the product's "anet.inf" file does not contain
# a "Platform" key (in the "[ActiveNet]" block), this test passes by default.
#
# If one or more "szValidPlatform_n" attributes are specified, the language dependent
# LDL file(s) should specify the "szWrongPlatform" text string, so that the user can be
# notified if this test fails.
#
# Example: string szValidPlatform_0 "1"
# string szValidPlatform_2 "2"
#
################################################################################################
#
# "szValidLanguage" is an optional attribute and specifies one or more languages, which
# this patch is to apply to.
#
# If the number, specified by this attribute, is below 128, it is assumed to represent one
# language or a combination of multiple languages. Such a number can be created, by
# combining the bits of the desired languages via a "Logical Or". Since the bits of the
# current language codes do NOT overlap, the number may also be created by calculating the
# sum of the language numbers, that correspond to the languages that this patch is to
# support.
#
# If the number is above 127, it is assumed to specify exactly one language.
#
# For a number below 128, the Patcher compares (via a "Logical And") its bits to the bits
# making up the number stored in the "Language" key of the product's "anet.inf" file, under
# the "[ActiveNet]" block. If one or more bits match, the test is considered passed and the
# Patcher proceeds.
#
# For a number above 127, the Patcher performs a simple equality test. If this number and
# the "Language" number (stored under the "[ActiveNet]" block in the "anet.inf" file)
# match, the test passes.
#
# If these tests fail (the "Logical And" or the equality test), the Patcher displays the
# text specified by the "szWrongLocale" attribute (usually stored in the language
# dependent LDL script(s)).
#
# Example: string szValidLanguage "1"
#
################################################################################################
#
# "szQA_n" and "szQAout_n" are an optional string pair, where "_n" represents any unique
# and positive number. There can be multiple "szQA_n" & "szQAout_n" pairs as long as their
# suffixes are unique. The corresponding "szQAout_n" is optional - however, for each
# "szQAout_n" there has to be a corresponding "szQA_n". The Patcher checks for any "szQA_n"
# that matches the "QA" field in anet.inf (provided anet.inf contains a "QA" field, if
# there is a "szQA_n" that matches the "QA" field in the anet.inf file, the patch is
# considered applicable to the installed product. If this test passes and provided anet.inf
# contains a "QA" field, anet.inf's "QA" field is updated to the value specified by the
# "szQAout_n", whose suffix "_n" is the same as the "szQA_n" that matches the "QA" field
# currently stored in anet.inf (if the matching "szQA_n" has a corresponding "szQAout_n").
#
# Example: szQA_0 "1190 German"
# szQA_5 "1140 German"
# szQAout_5 "1190 German"
#
string szQA_0 "1867"
string szQAout_0 "2009"
string szQA_1 "1982"
string szQAout_1 "2009"
string szQA_2 "1983"
string szQAout_2 "2009"
string szQA_3 "2009"
string szQAout_3 "2009"
################################################################################################
#
# "szFromVersion" specifies the bottom range of product versions that this patch applies
# to (see also "szPatchVersion"). This number is compared to the build number stored in the
# "anet.inf" file, such as:
#
# [ActiveNet]
# Version=36.4
#
# The version number in "anet.inf" has to be greater than or equal to the number specified
# by this attribute. Use "0.0" if this is the first patch you are making for your product
# and/or want it to apply to any previously released versions of the product.
#
# Example: string szFromVersion "15.7"
#
string szFromVersion "0.0"
################################################################################################
#
# "szPatchVersion" specifies the top limit of product versions that this patch applies to
# (see also "szFromVersion") and updates the "[ActiveNet].Version" key in "anet.inf". The
# "[ActiveNet].Version" number in "anet.inf" has to be less than the number specified by
# this attribute. "0.0" is the minimum value and "255.255" is the maximum (as dictated by
# Activlink).
#
# Example: string szPatchVersion "40.0"
#
string szPatchVersion "49.0"
################################################################################################
#
# "szPlatform" can be used to change the value of the "[ActiveNet].Platform" key in
# the product's "anet.inf" file.
#
# Example: string szPlatform "1"
#
################################################################################################
#
# "szBranch" can be used to change the value of the "[Version Info].Branch" key in
# the product's "anet.inf" file.
#
# Example: string szBranch "1.0"
#
}
############################################################################################################
#
# this is the list of files to copy during install, not including those files automatically placed into
# uninstall/, and not including shortcuts (which are handled by the shortcut and start_menu blocks).
#
# setup will first execute filecopy.copy_0, then filecopy.copy_1, and so on... up until the first block in
# this series which doesn't exist.
#
# for each filecopy child block, the following attributes are defined:
#
# src path of the source files for this copy. default directory is SRCDIR:/.
#
# dest path of the destination files for this copy. default directory is TARGETDIR:/.
# if src is not specified, dest is logged for uninstall, but nothing actually gets copied.
#
# recurse if present, filecopy searches recursively through all subdirectories of src.
#
# update can be one of two values, if present: 'version', or 'time'. this means that no file gets
# copied if the dest file already exists and is more recent. If 'version', more recent
# means a higher version number in the version resource. Not all files have a version resource,
# but all have a date and time stamp. If 'time', more recent means a later 'last modified'
# date & time.
#
# shared if present, files copied are treated as shared files, for which a reference count will be
# maintained in the registry under the key,
# HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs
#
filecopy
{
copy_0
{
string src "data"
string dest "."
string recurse ""
}
copy_1
{
string src "bzn"
string dest "./bzn"
string recurse ""
}
copy_2
{
string src "help"
string dest "./help"
string recurse ""
}
copy_3
{
string src "textures"
string dest "./textures/rgb"
string recurse ""
}
copy_4
{
string src "help2"
string dest "./help/help"
string recurse ""
}
copy_5
{
string src "missions"
string dest "./missions/"
string recurse ""
}
}
##########################################################################
#
# The "shortcut" block is optional and consists of a list of child blocks, each describing
# a shortcut and referenced from the "start_menu" block, which determines the
# directory/menu under which the shortcut is to be created.
#
# Except for URLs, every shortcut that is created, will be opened using "slaunch.exe" -
# the shortcut launcher utility, which allows you to specify absolute paths to files on the
# product CD by using "CDDIR:/". If the shortcut uses "CDDIR:/", the user is prompted to
# insert the CD (which requires you to define the "insertCD" attribute) if the file pointed
# to, is not found. Unfortunately this indirection through "slaunch.exe" causes problems
# with the associated shortcut icons. Therefore, for some of the shortcuts you will need
# to define the icon attribute. See below under "icon" for more information.
#
# Since each shortcut is launched using "slaunch.exe", shortcuts are not checked during
# their creation and should be checked manually after the installation is complete.
#
# The "slaunch.exe" utility is expected to reside in the uninstall directory relative to
# the product install directory. Unless you used the Activision Installer or you don't need
# to create shortcuts to files other than URLs, you will have to include
# "uninstall\slaunch.exe" in your patch.
#
# The following "shorcut" attributes are supported:
#
# name The label of the shortcut. This refers to a text item in the
# "shortcut_strings" block in the appropriate language specific LDL file.
#
# file Specifies the path and filename of the file to be pointed to by this
# shortcut. If a relative path is specified, it is assumed to be relative
# to the product install directory. For absolute paths, you may use
# "CDDIR:/" (see above).
# If "file" has the special value "UNINSTALL", the contents that are
# generated for this field, point to the Activision Uninstaller, thus
# this value is only valid for products installed using the Activision
# Installer.
# This attribute may also specify a URL to a web page by having it begin
# with "http://". For this type of shortcut only the "name" and the "file"
# attributes are valid.
#
# insertCD Refers to a text string in the "global_strings" block. This text string
# should contain the product's name and is only used when "CDDIR:/" is used
# in the "file" attribute and the file pointed to cannot be found. This
# text replaces the "%s" in the following string that would be shown:
# "Please insert your %s. Press OK when ready.".
#
# options (optional) The command line options for the file (usually only applies
# to executables) specified via the "file" attribute.
#
# workingDir (optional) The working directory for the file refered to by the "file"
# attribute (this usually only applies for executables). This can be a
# relative or absolute path. If a relative path is specified, it is
# assumed to be relative to the directory containing the file that is
# pointed to by the "file" attribute.
#
# icon (optional) The filename to the icon resource to use for the shortcut, if
# the file specified by the "file" attribute is not an EXE or DLL or if the
# DLL or EXE file pointed to does not contain an icon. You also need to
# specify an icon, if the "file" attribute refers to a file, that contains
# its own icon (e.g. EXE or DLL) and is stored on a CD - otherwise windows
# would not know which icon to display when the CD was not inserted.
#
# icon_number (optional) The index of the icon to use in an icon resource with
# multiple icons. If the "icon" attribute is defined but the "icon_number"
# attribute is missing, an icon number of 0 is assumed.
#
# Following is a list of icons, that are contained in the respective files and are assumed
# to be present for all 32-bit versions of windows:
#
# icon file icon number description
#
# WINDIR:/winhlp32.exe 1 purple help booklet
#
# SYSDIR:/shell32.dll 0 unknown document
# " 1 generic document
# " 2 generic exe
# " 3 closed folder
# " 4 open folder
# " 7 removable drive
# " 8 fixed drive
# " 9 network drive
# " 11 cdrom drive
# " 12 dip integrated circuit
# " 15 computer
# " 16 printer
# " 17 network neighborhood
# " 22 finder find file
# " 23 purple help booklet (same as in winhlp32)
# " 25 sleepy monitor
# " 27 restart monitor
# " 28 shared icon suffix
# " 29 shortcut icon suffix
# " 31 empty trash
# " 32 full trash
# " 38 fonts folder
# " 40 audio CD
#
# Note: Because internet shortcuts are not handled by slaunch.exe, you cannot specify an
# icon to use for them. They will use the default icon for the file type .url.
#
# Example:
#
# shortcut
# {
# play
# {
# string name "szPlay"
# string file "heavy gear 2.exe"
# string icon "gear.ico"
# }
#
# help
# {
# string name "szHelp"
# string file "readme.doc"
# string icon "WINDIR:/winhlp32.exe"
#
# }
#
# uninstall
# {
# string name "szUninstall"
# string file "UNINSTALL"
# }
# } #(end shortcuts)
#
###########################################################
#
# The optional "start_menu" block determines the directory/menu in which each shortcut,
# listed in the "shortcut" block is to be created.
#
# You may use "START_MENU_PROGRAMS_DIR:/" for the "dir" attribute to specify the
# "Windows\Start Menu\Programs" folder (the actual path that "START_MENU_PROGRAMS_DIR:/"
# equates to, depends on where windows is installed on the user's system).
#
# For each block (the "start_menu" parent block and all child blocks), the following
# attributes are defined:
#
# dir Path of the directory to create for this block. Use "" to put the
# shortcuts in the same directory as the parent block (provided the "dir"
# attribute was specified for the parent block). If this directory path
# contains a drive specifier, it is considerd an absolute path. Otherwise,
# it assumed to be relative to the directory used by the parent block .
#
# shortcut_n Refers to a shortcut description in the "shortcut" block. The "_n"
# suffix should be a positive number and should also be unique within
# its block.
#
# Note: Directories will only be created if they do not exist yet and if one or more
# shortcuts are placed into them - you cannot create a directory simply by specifying
# the "dir" attribute without a "shortcut_n" attribute.
#
# Example:
#
# start_menu
# {
# string dir "start_menu_programs_dir:/Heavy Gear 2 "
# string shortcut_0 "play"
# string shortcut_4 "uninstall"
#
# child0
# {
# string dir "Docs"
# string shortcut_0 "Help"
# }
# }
#